package com.ctshk.rpc.order.season.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 套票-订单-酒店订单
 * </p>
 *
 * @author 杨林
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_season_product_order_hotel")
@ApiModel(value="SeasonProductOrderHotel对象", description="套票-订单-酒店订单")
public class SeasonProductOrderHotel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联t_season_order 表id 表id")
    private Long seasonOrderId;

    @ApiModelProperty(value = "单项订单id(打包下单成功后根据每个单项订单返回的id存储)")
    private Long orderId;

    @ApiModelProperty(value = "该产品Id")
    private Long productId;

    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "确认状态(1:待确认  2:确认预订  3:确认取消)")
    private Integer scheduledStatus;

    @ApiModelProperty(value = "取消状态(1:审批中，2:审批成功  ,3:审批失败  ,4:退款成功)")
    private Integer cancelStatus;

    @ApiModelProperty(value = "房间数量")
    private Integer roomsNumber;

    @ApiModelProperty(value = "入住时间")
    private LocalDateTime  occupancyDate;

    @ApiModelProperty(value = "离店时间")
    private LocalDateTime  departureDate;

    @ApiModelProperty(value = "床型id")
    private Long bedTypeId;

    @ApiModelProperty(value = "产品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "床型名称")
    private String bedTypeName;

    @ApiModelProperty(value = "房型id")
    private Long roomTypeId;

    @ApiModelProperty(value = "房型名称")
    private String roomTypeName;

    @ApiModelProperty(value = "酒店产品id")
    private Long hotelProductId;

    @ApiModelProperty(value = "酒店产品名称")
    private String hotelProductName;

    @ApiModelProperty(value = "早餐")
    private String breakfast;

    @ApiModelProperty(value = "适用人群id")
    private Long applicableCrowdId;

    @ApiModelProperty(value = "适用人群名称")
    private String applicableCrowdName;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
